home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / mididiag.zip / SBMIDI.TXT < prev    next >
Text File  |  1992-03-25  |  7KB  |  153 lines

  1.  
  2.       How to build a MIDI interface for a SoundBlaster/SoundBlaster Pro:
  3.  
  4.       The SoundBlastr MIDI port uses two pins from the 15-pin
  5.       joystick port.  These normally would be redundant +5volt and
  6.       ground lines.  In the SoundBlaster, there are called MIDI TXD
  7.       (Transmit eXternal Data) and MIDI RXD (Receive eXternal Data).
  8.       The signals to and from the SoundBlaster are TTL logic signals.
  9.       MIDI uses a current loop interface, so the job of the interface
  10.       box is to convert between TTL-level signals and the MIDI current
  11.       loop.
  12.  
  13.       If you want to use the MIDI interface and the SoundBlaster
  14.       joystick interface simultaneously, you can make a simple adapter
  15.       by connecting one male and 2 female 15-pin connectors to a short
  16.       length of ribbon cable.
  17.  
  18.       SBMIDI1.PCX is a PCX format graphic file of the schematic diagram
  19.       of the MIDI connector circuitry.  You can use Windows Paintbrush
  20.       to view and print the schematic.
  21.  
  22.       For simplicity, the schematics show the MIDI input and output
  23.       circuits seperately, but they share the +5volt and ground lines.
  24.       (Pins 8 and 5 on the SoundBlaster).  The interface uses 4-wire
  25.       shielded cable to connect the computer to the interface box and
  26.       two 2-wire sheilded cables to connect the interface box to the
  27.       input and output ports on the MIDI instrument.
  28.  
  29.       The MIDI input port only can connect to one instrument, but the
  30.       MIDI Out from the computer could go to up to 5 MIDI instruments.
  31.       The schematic diagram only shows one complete MIDI output line.
  32.       You can connect up to 4 additional MIDI outputs by adding a
  33.       220Ω resistor (from the +5volt pin to pin 4 on the MIDI cable)
  34.       and a 220Ω resistor (from the buffer output to pin 5 of the
  35.       MIDI plug) for each output.  You should also add a 220pf
  36.       capacitor between each additional MIDI line and ground.
  37.  
  38.  
  39.       Construction:
  40.  
  41.       Start with using half of a dual 20-pin IC board, using the first
  42.       six pins for the optocoupler and the last fourteen pins for the
  43.       hex buffer.  Then remove portions of some of the copper lines
  44.       on the circuit board with an X-Acto knife, as is shown in the
  45.       schematic in the SBMIDI2.PCX graphic file.  Cut each trace on
  46.       both ends first, then remove the copper between the cuts.
  47.       Now on to component installation!  Be sure to use rosin-core
  48.       solder and a low-wattage soldering iron.  Solder the 20-pin
  49.       socket to the center of the board, being careful not to bridge
  50.       solder between connections.  Then install the other components
  51.       in the locations shown in the SBMIDI3.PCX schematic.  While
  52.       looking at the SBMIDI3.PCX schematic, note that the ringed end
  53.       of diode D1 needs to connect to pin1 of the optocoupler.
  54.       Be sure to run hookup wires from the ground pin on the optocoupler
  55.       (Pin 4) to the ground pin of the hex buffer (Pin 7) and between
  56.       pins 11 and 12 on the hex buffer.  The remaining hookup wires
  57.       are optional for additional MIDI outputs.  Notice that both a
  58.       resistor and a capacitor must be connected in the same hole for
  59.       each MIDI Out.  Then connect the 4-conductor sheilded cable to
  60.       pins 5,8,12 and 15 of the 15-pin plug.  Connect the shield to
  61.       the metal case of the plug.  Connect the other end of the 4-wire
  62.       cable to the corresponding locations shown in the SBMIDI3.PCX
  63.       schematic.  Tie the cable sheild to the large mounting hole in
  64.       the circuit card and connect one end of each of the two connector
  65.       shielded cables to pins 4 and 5 of the MIDI plugs.  Connnect the
  66.       shield in the MIDI plugs to pin 2.  Mark one cable "MIDI IN" and
  67.       the other cable "MIDI OUT".  Connect the other end of the cables
  68.       tot he corresponding locations on the circuit card.  Tie the
  69.       shields to mounting holes in the circuit card and connect all
  70.       three shields together with a hookup wire.   Check the card and
  71.       cables to ensure that all connections are correct, file small
  72.       notches in the cover of the aluminum box for the cables, and
  73.       wrap a piece of heavy paper around the circuit card to prevent
  74.       shorting.  Your next step is to plug the 15-pin connector into
  75.       the SoundBlaster and the MIDI In and Out to the MIDI jacks on
  76.       your MIDI instrument.
  77.  
  78.  
  79.       Testing:
  80.  
  81.       A MIDI port requires software to function.  You can test the
  82.       input portion of the MIDI interface with the FM Organ program
  83.       bundled with the SoundBlaster.  With "MIDI Mode" selected,
  84.       MIDI Note-On messages will play sounds from the SoundBlaster
  85.       card, but only those notes valid for the musical key you have
  86.       selected.  For example, if you select the key of C, only the
  87.       white keys will sound.  To test the MIDI Out portion of the
  88.       interface, you can use any MIDI sequencer that supports
  89.       SoundBlaster.  All of Voyetra's sequencers, Cakewalk, and
  90.       Trax are examples of some that are avaliable.  When you go
  91.       shopping for a sequencer, make sure you specify that you have
  92.       a SoundBlaster.  The SoundBlaster MIDI interface is NOT
  93.       Roland MPU-401 compatible!  But that's not a major drawback
  94.       anymore - Most companies are now supporting the SoundBlaster,
  95.       but some have seperate versions - One for SB, one for Roland.
  96.       There are some ShareWare/DemoWare sequencers avaliable on
  97.       the Creative Labs BBS.  You can reach them by modem at the
  98.       number given at the end of this file.
  99.  
  100.  
  101.       Parts List:
  102.  
  103.             Resistors:
  104.             (¼-watt, 1%, metal film)
  105.                R4,R5  220Ω
  106.                R1     270Ω
  107.                R2     1KΩ
  108.                R3     4.7KΩ
  109.  
  110.             Capacitors:
  111.             (25 working volts or greater)
  112.                C1,C2  220pF ceramic
  113.  
  114.             Diodes:
  115.                D1     1N914 or 1N4148
  116.  
  117.             Integrated Circuits:
  118.                IC1    4N35 Optocoupler
  119.                IC2    7407 Hex Buffer
  120.  
  121.             IC Sockets:
  122.               (IC1)   8-pin
  123.               (IC2)   14-pin
  124.  
  125.             Other Components:
  126.                1 Dual IC board, Radio Shack part #276-159
  127.                1 15-pin male DB-style connector, solder cup
  128.                1 Hood for 15-pin DB connector
  129.                2 5-pin DIN plugs, 180°
  130.                1 Aluminum project box, approx. 3"x2"x2"
  131.                2' of 4-conductor shielded cable
  132.                8' of 2-conductor shielded cable
  133.  
  134.  
  135.      Other info:
  136.  
  137.      Creative Labs, Inc. BBS:
  138.  
  139.               Node 1 & 2 :  (408)428-6660  1200/2400
  140.               Node 3  :     (408)428-6662  9600/14400 v32/v32bis/CSP
  141.               Node 4  :     (408)428-6664  9600/14400 v32/v32bis/HST
  142.  
  143.      Available on the BBS is a library of MIDI files (.MID) as well
  144.      as several ShareWare/DemoWare MIDI applications.
  145.  
  146.      Note:  Please do NOT call the Technical Support department of
  147.      Creative Labs for help on this - With this file, you have
  148.      just as much information as they do!  If you don't want to
  149.      deal with it, just _buy_ the cable - It costs $24.95 + S&H
  150.      direct from Creative Labs.  The sales number is (408)428-6600.
  151.  
  152.      Good luck!
  153.